class CreateStudents < ActiveRecord::Migration
  def change
    create_table :students do |t|
      t.string :studentId
      t.string :grade
      t.string :university
      t.string :college
      t.string :major
      t.string :sgroup
      t.string :name
      t.integer :gender
      t.string :nationality
      t.datetime :birth
      t.string :politics
      t.integer :height
      t.integer :weight
      t.string :personalId
      t.string :studentAddr
      t.datetime :graduationTime
      t.text :certificate
      t.string :phone
      t.string :specialty
      t.text :sextenstion
      t.string :fid
      t.integer :smark1
      t.integer :smark2
      t.integer :smark3
      t.integer :smark4
      t.integer :smark5

      t.timestamps
    end
  end
end
